import React, { FC } from 'react';

const AsyncLoader: FC<any> = (props) => {
  const { component: Component, handlePathMatched, ...rest } = props;
  return <Component {...rest} />;
};

export default AsyncLoader;
